<?php echo $this->element('user_menu');?>      
<?php echo $this->element('banner',array('category' => 'search'));?>
<div id="body_container" class="group">
	    <div id="left_container">
<?php echo $this->element('advertisement',array('category' => 'search'));?>
<?php echo $this->element('left_bar');?>  
<?php
	if(isset($notFound) && $notFound){
		echo "<h1>Not Found</h1>";
	} else{
		foreach($jobs as $job):
?>
	<div id="right_container">
        <div class="block">
            <div class="head">
            	<span class="heading">
            		Last Date &nbsp;<?php echo $job['JobDetail']['jobno'];?>
            	</span> 
            	<span class="more">
            		<?php echo $job['JobDetail']['end_date'];?>
            	</span>
            </div>
            <div class="container group">
                    <h2>Company :<?php echo $job['JobProvider']['name'];?></h2>
                        <p class="description">
                        	<b>Address: </b>
                        	<?php echo $job['JobDetail']['address'];?><br />
                        	<b>Salary:</b>
                        	<?php echo $job['JobDetail']['address'];?><br />
                        	<b>Qualification</b>
                        	<?php echo $job['JobDetail']['qualification'];?><br />
                        </p>
                        <?php echo $this->Html->link('View Detail', array('controller' => 'job_details', 'action' => 'view', $job['JobDetail']['id']), array('class' => 'myButton'));?>
            </div>
       </div>  <!--block--> 
</div><!--right container-->
<?php 
		endforeach;
	}
?>